package com.reggie.service;

import com.reggie.dto.DishDto;
import com.reggie.pojo.Dish;
import com.reggie.util.PageUtil;

import java.util.List;

public interface DishService {
    PageUtil<Dish> getEmployeeList(Integer page, Integer pageSize, String name);

    boolean delete(Long id, Long userId);

    boolean add(Dish dish);

    boolean edit(Dish dish);

    DishDto find(Long id);

    boolean editStatus(Long id, Integer status, Long userId);

    List<DishDto> findByCategoryOrName(Long categoryId, String name, Integer status);
}
